package com.stress.testing.common.interceptor;

import com.stress.testing.common.conf.AgentConfig;
import com.stress.testing.common.conf.PluginConfig;

public abstract class AbstractInterceptor implements Interceptor {
    private AgentConfig agentConfig;
    private PluginConfig pluginConfig;

    @Override
    public void init(AgentConfig agentConfig, PluginConfig pluginConfig) {
        this.agentConfig = agentConfig;
        this.pluginConfig = pluginConfig;
    }

    @Override
    public PluginConfig getPluginConfig() {
        return this.pluginConfig;
    }

    @Override
    public AgentConfig getAgentConfig() {
        return this.agentConfig;
    }
}
